﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="QLKhachsan.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="main_content">
        <div class="title_bar">
            <span>Danh sách phòng</span>
        </div>
        <asp:DataList ID="dtl_room" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"
            HorizontalAlign="NotSet" CellSpacing="10" OnItemCommand="dtl_room_ItemCommand">
            <ItemTemplate>
                <asp:LinkButton ID="lbt_reserv" Text='<%# DataBinder.Eval(Container.DataItem, "Sophong") %>'
                    CommandName="Reserv" Visible="false" runat="server" />
                <asp:LinkButton ID="lbl_details" Text='<%# DataBinder.Eval(Container.DataItem, "Sophong") %>'
                    CommandName="Details" Visible="false" runat="server" />
                <asp:HiddenField ID="hdf_status" Value='<%# DataBinder.Eval(Container.DataItem, "Trangthai") %>'
                    runat="server" />
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
